<?php
$listid = $_GET['listid'];
$x7serverget = $_GET['x7serverget'];
$x7serverget = urlencode($x7serverget);
$x7pluiconfid = $_GET['x7pluiconfid'];
$x7kalpartnerid = $_GET['x7kalpartnerid'];
$x7kalsubpartnerid = $x7kalpartnerid . "00";
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head profile="http://gmpg.org/xfn/11">
<title>x7 List Player</title>
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/swfobject/2.2/swfobject.js"></script>
    </head>
        <body>
                <div id="kplayerWrap"
                     <div id="kplayer"></div>
                </div>
                <script type="text/javascript">
                var params = {
                    allowscriptaccess: "always",
                    allownetworking: "all",
                    allowfullscreen: "true",
                    bgcolor: "#000000",
                    wmode: "opaque"
                    };
				var x7server = decodeURIComponent("<?php echo($x7serverget); ?>");
                var url = "<?php echo($x7serverget); ?>%2Findex.php%2Fpartnerservices2%2Fexecuteplaylist%3Fuid%3D%26partner_id%3D<?php echo($x7kalpartnerid); ?>%26subp_id%3D<?php echo($x7kalsubpartnerid); ?>%26format%3D8%26ks%3D%7Bks%7D%26playlist_id%3D<?php echo($listid) ?>&";
                var flashVars = {
                        //uid: "0",
                        //partner_id: "<?php echo($x7kalpartnerid) ?>",
                        //subp_id: "<?php echo($x7kalsubpartnerid) ?>",
                        //kpl0autoContinue: true,
                        //kpl0autoInsert: true,
                        kpl0name: "test",
                        kpl0Url: url
                        };

                        swfobject.embedSWF(x7server + "/kwidget/cache_st/1284002075/wid/_<?php echo($x7kalpartnerid) ?>/ui_conf_id/<?php echo($x7pluiconfid); ?>", "kplayer", "800", "400", "9.0.0", false, flashVars, params);
                        </script>
        </body>
</html>